package com.situ.meetingRoom.service;

import com.situ.meetingRoom.entity.Dept;
import com.situ.meetingRoom.util.PageInfo;

import java.util.List;

public interface DeptService {
    List<Dept> getAll(Dept dept);

    PageInfo getForPage(Integer page, Integer limit, Dept dept);

    int add(Dept dept) throws Exception;

    int remove(Integer id) throws Exception;

    int edit(Dept dept) throws Exception;

    Dept getById(Integer id);
}
